/*
 * phi
 */


TM.loadScript("dom", "dom");
TM.loadScript("graphics", "color");

TM.main(function(){
    window.$ = TM.DOM.DOM;
    window.Color = TM.Color;
    
    var file_header_list = $.$All(".file-header");
    
    for (var i=0; i<file_header_list.length; ++i) {
        var file_header = file_header_list[i];
        file_header.event.click(function(){
            var color = this.style.getPropValue("background-color");
            var ta = $("#main-ta");
            ta.style.set("borderColor", color);
        });
    }
    
});


